package com.huqing.icu.exceptions;

/**
 * @Description 异常类
 * @Author huqing
 * @Date 2025/1/6 11:38
 **/
public class FastRuntimeException extends RuntimeException {

    /**
     *
     */
    private static final long serialVersionUID = 3971320345280707623L;

    public FastRuntimeException() {
        super();
    }

    public FastRuntimeException(String desc) {
        super(desc);
    }

    public FastRuntimeException(String desc, Throwable cause) {
        super(desc, cause);
    }

    public FastRuntimeException(Throwable cause) {
        super(cause);
    }

    /**
     * Since we override this method, no stacktrace is generated - much faster
     *
     * @return always null
     */
    public Throwable fillInStackTrace() {
        return null;
    }
}
